<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
        
        <link rel="stylesheet" href="bootstrap-3.1.1-dist/css/bootstrap.min.css">

<!-- Optional theme -->
<link rel="stylesheet" href="bootstrap-3.1.1-dist/css/bootstrap-theme.css">

<!-- Latest compiled and minified JavaScript -->
<script src="bootstrap-3.1.1-dist/js/bootstrap.min.js"></script>

<style>
    
    body {
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #eee;
}

.form-signin {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}
.form-signin .checkbox {
  font-weight: normal;
}
.form-signin .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
    
    
</style>
    
    </head>
    <body>
      <div class="container">

          <form class="form-signin" role="form" action="valida.php" method="post">
        <h2 class="form-signin-heading">Login</h2>
        <input type="email" class="form-control" placeholder="Email" name="email" required autofocus>
        <input type="password" class="form-control" placeholder="Senha" name="senha" required>
        
        <div class="row">
				<div class="col-xs-6 col-sm-6 col-md-6">
					<div class="form-group">
						   <label class="checkbox">
          <input type="checkbox" value="remember-me"> Lembrar-me
        </label>
					</div>
				</div>
				<div class="col-xs-6 col-sm-6 col-md-6">
					<div class="form-group">
                                              <div class="alert alert-success">
						<a href="cadastro.php"> Criar uma conta</a>
                                                </div>
                                            
					</div>
				</div>
			</div>
		
     
        
        <button class="btn btn-lg btn-primary btn-block" type="submit">Entre</button><br/>
        
      
     
          <?php $errosa = $_GET['erro'];
            
                  if(strcasecmp($errosa, "")){
                      
                      echo "<div class='alert alert-danger'<strong>$errosa</strong></div>";  
                      
                  }
                                    
                                  
                                
         ?>		
                      
          
     
        
      </form>

    </div> <!-- /container -->

    </body> 
    
</html>
